package com.zy.dp.observer.example1;

public class ConcreteObserver implements Observer
{
	@SuppressWarnings("unused")
	private String observerState;

	@Override
	public void update(Subject subject)
	{

		observerState = ((ConcreteSubject) subject).getSubjectState();

	}

}
